<script setup>
import Table from '../Table.vue';
import { ref } from 'vue'
const props = defineProps({
    list: {
        type: Array,
        default: []
    }
})
const activeNames = ref([''])
</script>

<template>
  <el-collapse v-model="activeNames">
      <el-collapse-item title="绑定节点" name="nodeSelector">
        <template #title>
            <el-button text type="primary">绑定节点</el-button>
        </template>
        <Table :list="props.list" key-name="节点标签的Key" value-name="节点标签的Value"></Table>
      </el-collapse-item>
    </el-collapse>
</template>

<style scoped>

</style>
